# tormach.py

r'''Supports the 4-axis Tormach machine.

The axes are XYZA.  This machine supports G-Code.
'''

from __future__ import division

from ot_simulator.output import dest_machine, transformer
from ot_simulator.transform import transform

class pcnc_1100(dest_machine.g_code):
    r'''The Tormach Personal CNC Series 1100 machine.
    '''
    def __init__(self, outputer):
        dest_machine.g_code.__init__(self,
          transformer.transform_3t_1r(
            cnc_to_work_transform=transform.rotation_on_y(90.0).rotate_z(90.0),
            cnc_rotation_axis='A',
            cnc_tool_axis='Z'),
          outputer)

